package lab02.test35;

public class Application {
    public static void main(String[] args) {
        Manager m = new Manager("li","11001");
        System.out.print(m.toString());
        System.out.println("工资："+m.computeSalary());

        System.out.println();

        Salesman s = new Salesman("wang","12001",103);
        System.out.print(s.toString());
        System.out.println("工资："+s.computeSalary());

        System.out.println();

        Worker w = new Worker("wu","13001",23);
        System.out.print(w.toString());
        System.out.println("工资："+w.computeSalary());

    }
}
